<template>
    <view></view>
</template>

<script>
export default {
    data() {
        return {
            url: ''
        };
    },
    onLoad(options) {
    //    const url = window.location.href
      const url = 'https://grzqwx.wajx.top/apicrzs/api/apicrzs/gq/source?eid=86&type=1'
      console.log("------------",url.split('?'))
      const pages = getCurrentPages();
        const currentPage = pages[pages.length - 1];
        const currentPageUrl = '/' + currentPage.route; // 获取当前页面的路径
        // console.log("------------",pages)
    } 
};
</script>